package com.tianpengtech.admin.appsetting;

import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;
import com.tianpengtech.common.model.appsetting.AppSetting;

public class AppSettingDao {

	public static AppSettingDao dao = new AppSettingDao();
	
	public List<Record> getAppSettingByCategory(int category){
		String sql = "select * from "+AppSetting.dao.tableName()+" where cateogry = ?";
		return Db.find(sql,category);
	}
}
